/*
*	File: Saver.cpp
*	Date: 12/13/2011
*	Author: Ivan Gao
*	Desc:
*/
#ifndef SAVER_H_
#define SAVER_H_
#include "CommonDef.h"
#include "BinaryFile.h"
#include "CoreBone.h"
#include "CoreSkeleton.h"
#include "CoreMaterialSet.h"
#include "Vector.h"
#include "Matrix.h"
class SIMPLEANIMATION_API SSaver
{
private:
	SSaver ();
	~SSaver ();
public:
	static bool ExportCoreMaterialSet (const char * pFileName, const SCoreMaterialSet & rCoreMaterialSet);
	static bool ExportSkeletonFile (const char * pFileName, SCoreSkeleton * pCoreSkeleton);
protected:
	static bool SaveCoreBone (ofstream & file, const SCoreBone * pCoreBone);
};
#endif // SAVER_H_